package cn.phub.system.mapper;

import cn.phub.system.domain.Menu;
import cn.phub.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jijie
 * @since 2022-04-06
 */
public interface MenuMapper extends BaseMapper<Menu> {
    /**
     * 当前登录人拥有的菜单
     * @param id
     * @return
     */
    List<Menu> loadMenuByLoginInfo(Long id);
}
